[server]
domain = monitoring.apiote.xyz
enforce_domain = true
enable_gzip = false

[database]
# Either "mysql", "postgres" or "sqlite3", it's your choice
type = postgres
host = 127.0.0.1:5432
name = grafana
user = grafana
password = $__file{/usr/share/grafana/conf/db_pass}

[analytics]
reporting_enabled = false
check_for_updates = false

[security]
secret_key = $__file{/usr/share/grafana/conf/security_secret}
disable_gravatar = true
cookie_secure = true
;content_security_policy = true
;content_security_policy_template = """script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""

[users]
allow_sign_up = false
allow_org_create = false

[smtp]
enabled = true
host = smtp.migadu.com:465
user = monitoring@apiote.xyz
password = $__file{/usr/share/grafana/conf/smtp_secret}
from_address = monitoring@apiote.xyz
from_name = Monitoring

[emails]
;welcome_email_on_sign_up = false
;templates_pattern = emails/*.html, emails/*.txt
;content_types = text/html
